package com.eco.mam.work.request.transform;

import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.StringWriter;

public class TestStringWriter {
    public static void main(String[] args) {
     
        
        
        StringWriter strW=new StringWriter();
        strW.write("fkjsfskfjsjkf");
        
        try {
            FileWriter fileWriter=new FileWriter(new File("Test.txt"));
            fileWriter.write(strW.toString());
            fileWriter.flush();
        } catch (IOException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
    }

}
